package com.xzr.entity;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * @Author：jojo
 * @Date：2022/2/10 17:30
 * @Description :TODO
 */
public class Gril {
    @NotEmpty(message = "名字不能为空")
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Gril{" +
                "name='" + name + '\'' +
                '}';
    }

}
